from django.urls import path
from .views import CreateExam, DeleteExam, ExamListView, ExamUpdateView, GetPaperList, ExamDetailView, ResetExam, UnExamUser

urlpatterns = [
    path('', ExamListView.as_view(), name='exam-list'),  # 考试列表
    path('update/', ExamUpdateView.as_view(), name='exam-update'),  # 修改考试接口
    path('create/', CreateExam.as_view(), name='create-exam'),  # 创建考试
    path('delete/', DeleteExam.as_view(), name='delete-exam'),  # 删除考试
    path('getPaperList/', GetPaperList.as_view(), name='get-paper-list'),  # 获取考试列表
    path('detail/', ExamDetailView.as_view(), name='exam-detail'),  # 获取考试详情
    path('resetExam/', ResetExam.as_view(), name='resetExam'),  # 重置考试状态
    path('unExamUser/', UnExamUser.as_view(), name='unExamUser'),  # 考试中查看未提交答题卡的考试人员
]
